<?php
//数据库处理入口 
class aData {
    public static function conn($type,$conn) {
        if(!$type) {
            return;
        }
        global $db;
        if (!is_object($db)) {
            require_once ADPATH."core/db_".$type.".php";
            $db = new DB($conn);
        }
    }



}
?>